package com.ys.entity.business;

import java.util.Date;
import javax.persistence.Table;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="TS_UserInfo", catalog="guid")
public class UserInfo extends BaseEntity<UserInfo> {

	@YsField(nameDataBase="Guid", nameJava="guid", typeDataBase="varchar")
	private String guid;
	@YsField(nameDataBase="UserId", nameJava="userId", typeDataBase="varchar")
	private String userId;
	@YsField(nameDataBase="UserName", nameJava="userName", typeDataBase="varchar")
	private String userName;
	@YsField(nameDataBase="UserPassWord", nameJava="userPassWord", typeDataBase="varchar")
	private String userPassWord;
	@YsField(nameDataBase="UserPassWord2", nameJava="userPassWord2", typeDataBase="varchar")
	private String userPassWord2;
	@YsField(nameDataBase="UserLevel", nameJava="userLevel", typeDataBase="int")
	private Integer userLevel;
	@YsField(nameDataBase="UserState", nameJava="userState", typeDataBase="varchar")
	private String userState;
	@YsField(nameDataBase="UserSex", nameJava="userSex", typeDataBase="varchar")
	private String userSex;
	@YsField(nameDataBase="UserSchooled", nameJava="userSchooled", typeDataBase="varchar")
	private String userSchooled;
	@YsField(nameDataBase="UserIdCard", nameJava="userIdCard", typeDataBase="varchar")
	private String userIdCard;
	@YsField(nameDataBase="UserBirthday", nameJava="userBirthday", typeDataBase="datetime")
	private Date userBirthday;
	@YsField(nameDataBase="UserProvince", nameJava="userProvince", typeDataBase="varchar")
	private String userProvince;
	@YsField(nameDataBase="UserCity", nameJava="userCity", typeDataBase="varchar")
	private String userCity;
	@YsField(nameDataBase="UserAddress", nameJava="userAddress", typeDataBase="varchar")
	private String userAddress;
	@YsField(nameDataBase="UserPhone1", nameJava="userPhone1", typeDataBase="varchar")
	private String userPhone1;
	@YsField(nameDataBase="UserPhone2", nameJava="userPhone2", typeDataBase="varchar")
	private String userPhone2;
	@YsField(nameDataBase="UserQQ", nameJava="userQQ", typeDataBase="varchar")
	private String userQQ;
	@YsField(nameDataBase="UserWeChat", nameJava="userWeChat", typeDataBase="varchar")
	private String userWeChat;
	@YsField(nameDataBase="UserEmail", nameJava="userEmail", typeDataBase="varchar")
	private String userEmail;
	@YsField(nameDataBase="UserLeader", nameJava="userLeader", typeDataBase="varchar")
	private String userLeader;
	@YsField(nameDataBase="UserPhoto", nameJava="userPhoto", typeDataBase="varchar")
	private String userPhoto;
	@YsField(nameDataBase="UserPicture", nameJava="userPicture", typeDataBase="varchar")
	private String userPicture;
	@YsField(nameDataBase="Skin", nameJava="skin", typeDataBase="varchar")
	private String skin;
	@YsField(nameDataBase="Relations1", nameJava="relations1", typeDataBase="varchar")
	private String relations1;
	@YsField(nameDataBase="RelationName1", nameJava="relationName1", typeDataBase="varchar")
	private String relationName1;
	@YsField(nameDataBase="RelationPhone1", nameJava="relationPhone1", typeDataBase="varchar")
	private String relationPhone1;
	@YsField(nameDataBase="Relations2", nameJava="relations2", typeDataBase="varchar")
	private String relations2;
	@YsField(nameDataBase="RelationName2", nameJava="relationName2", typeDataBase="varchar")
	private String relationName2;
	@YsField(nameDataBase="RelationPhone2", nameJava="relationPhone2", typeDataBase="varchar")
	private String relationPhone2;
	@YsField(nameDataBase="Organizationid", nameJava="organizationid", typeDataBase="varchar")
	private String organizationid;
	@YsField(nameDataBase="PositionGuid", nameJava="positionGuid", typeDataBase="varchar")
	private String positionGuid;
	@YsField(nameDataBase="DANid", nameJava="dANid", typeDataBase="varchar")
	private String dANid;
	@YsField(nameDataBase="Disabled", nameJava="disabled", typeDataBase="bit")
	private Integer disabled;
	@YsField(nameDataBase="CreateUser", nameJava="createUser", typeDataBase="varchar")
	private String createUser;
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@YsField(nameDataBase="UpdateUser", nameJava="updateUser", typeDataBase="varchar")
	private String updateUser;
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;
	@YsField(nameDataBase="BrowserLogin", nameJava="browserLogin", typeDataBase="bit")
	private Integer browserLogin;
	@YsField(nameDataBase="EnWeChatId", nameJava="enWeChatId", typeDataBase="varchar")
	private String enWeChatId;
	@YsField(nameDataBase="Cid", nameJava="cid", typeDataBase="varchar")
	private String cid;
	@YsField(nameDataBase="CidName", nameJava="cidName", typeDataBase="varchar")
	private String cidName;
	@YsField(nameDataBase="DeptId", nameJava="deptId", typeDataBase="varchar")
	private String deptId;
	@YsField(nameDataBase="DeptName", nameJava="deptName", typeDataBase="varchar")
	private String deptName;
	@YsField(nameDataBase="DeptPath", nameJava="deptPath", typeDataBase="varchar")
	private String deptPath;
	@YsField(nameDataBase="DeptPathName", nameJava="deptPathName", typeDataBase="varchar")
	private String deptPathName;
	@YsField(nameDataBase="UserType", nameJava="userType", typeDataBase="varchar")
	private String userType;
	@YsField(nameDataBase="VYyJb", nameJava="vYyJb", typeDataBase="varchar")
	private String vYyJb;
	@YsField(nameDataBase="VYyGw", nameJava="vYyGw", typeDataBase="varchar")
	private String vYyGw;
	@YsField(nameDataBase="VZnJb", nameJava="vZnJb", typeDataBase="varchar")
	private String vZnJb;
	@YsField(nameDataBase="VZnGw", nameJava="vZnGw", typeDataBase="varchar")
	private String vZnGw;
	@YsField(nameDataBase="DRzSj", nameJava="dRzSj", typeDataBase="datetime")
	private Date dRzSj;
	@YsField(nameDataBase="DZzSj", nameJava="dZzSj", typeDataBase="datetime")
	private Date dZzSj;
	@YsField(nameDataBase="DLzSj", nameJava="dLzSj", typeDataBase="datetime")
	private Date dLzSj;
	@YsField(nameDataBase="VDaBh", nameJava="vDaBh", typeDataBase="varchar")
	private String vDaBh;
	@YsField(nameDataBase="SyncUnionId", nameJava="syncUnionId", typeDataBase="varchar")
	private String syncUnionId;
	@YsField(nameDataBase="UserJg", nameJava="userJg", typeDataBase="varchar")
	private String userJg;
	@YsField(nameDataBase="VBzXx", nameJava="vBzXx", typeDataBase="varchar")
	private String vBzXx;
	@YsField(nameDataBase="VBgs", nameJava="vBgs", typeDataBase="varchar")
	private String vBgs;
	@YsField(nameDataBase="CidName2", nameJava="cidName2", typeDataBase="varchar")
	private String cidName2;

	public String getGuid() {
		return guid;
	}
	public UserInfo setGuid(String guid) {
		this.guid = guid;
		return this;
	}
	public String getUserId() {
		return userId;
	}
	public UserInfo setUserId(String userId) {
		this.userId = userId;
		return this;
	}
	public String getUserName() {
		return userName;
	}
	public UserInfo setUserName(String userName) {
		this.userName = userName;
		return this;
	}
	public String getUserPassWord() {
		return userPassWord;
	}
	public UserInfo setUserPassWord(String userPassWord) {
		this.userPassWord = userPassWord;
		return this;
	}
	public String getUserPassWord2() {
		return userPassWord2;
	}
	public UserInfo setUserPassWord2(String userPassWord2) {
		this.userPassWord2 = userPassWord2;
		return this;
	}
	public Integer getUserLevel() {
		return userLevel;
	}
	public UserInfo setUserLevel(Integer userLevel) {
		this.userLevel = userLevel;
		return this;
	}
	public String getUserState() {
		return userState;
	}
	public UserInfo setUserState(String userState) {
		this.userState = userState;
		return this;
	}
	public String getUserSex() {
		return userSex;
	}
	public UserInfo setUserSex(String userSex) {
		this.userSex = userSex;
		return this;
	}
	public String getUserSchooled() {
		return userSchooled;
	}
	public UserInfo setUserSchooled(String userSchooled) {
		this.userSchooled = userSchooled;
		return this;
	}
	public String getUserIdCard() {
		return userIdCard;
	}
	public UserInfo setUserIdCard(String userIdCard) {
		this.userIdCard = userIdCard;
		return this;
	}
	public Date getUserBirthday() {
		return userBirthday;
	}
	public UserInfo setUserBirthday(Date userBirthday) {
		this.userBirthday = userBirthday;
		return this;
	}
	public String getUserProvince() {
		return userProvince;
	}
	public UserInfo setUserProvince(String userProvince) {
		this.userProvince = userProvince;
		return this;
	}
	public String getUserCity() {
		return userCity;
	}
	public UserInfo setUserCity(String userCity) {
		this.userCity = userCity;
		return this;
	}
	public String getUserAddress() {
		return userAddress;
	}
	public UserInfo setUserAddress(String userAddress) {
		this.userAddress = userAddress;
		return this;
	}
	public String getUserPhone1() {
		return userPhone1;
	}
	public UserInfo setUserPhone1(String userPhone1) {
		this.userPhone1 = userPhone1;
		return this;
	}
	public String getUserPhone2() {
		return userPhone2;
	}
	public UserInfo setUserPhone2(String userPhone2) {
		this.userPhone2 = userPhone2;
		return this;
	}
	public String getUserQQ() {
		return userQQ;
	}
	public UserInfo setUserQQ(String userQQ) {
		this.userQQ = userQQ;
		return this;
	}
	public String getUserWeChat() {
		return userWeChat;
	}
	public UserInfo setUserWeChat(String userWeChat) {
		this.userWeChat = userWeChat;
		return this;
	}
	public String getUserEmail() {
		return userEmail;
	}
	public UserInfo setUserEmail(String userEmail) {
		this.userEmail = userEmail;
		return this;
	}
	public String getUserLeader() {
		return userLeader;
	}
	public UserInfo setUserLeader(String userLeader) {
		this.userLeader = userLeader;
		return this;
	}
	public String getUserPhoto() {
		return userPhoto;
	}
	public UserInfo setUserPhoto(String userPhoto) {
		this.userPhoto = userPhoto;
		return this;
	}
	public String getUserPicture() {
		return userPicture;
	}
	public UserInfo setUserPicture(String userPicture) {
		this.userPicture = userPicture;
		return this;
	}
	public String getSkin() {
		return skin;
	}
	public UserInfo setSkin(String skin) {
		this.skin = skin;
		return this;
	}
	public String getRelations1() {
		return relations1;
	}
	public UserInfo setRelations1(String relations1) {
		this.relations1 = relations1;
		return this;
	}
	public String getRelationName1() {
		return relationName1;
	}
	public UserInfo setRelationName1(String relationName1) {
		this.relationName1 = relationName1;
		return this;
	}
	public String getRelationPhone1() {
		return relationPhone1;
	}
	public UserInfo setRelationPhone1(String relationPhone1) {
		this.relationPhone1 = relationPhone1;
		return this;
	}
	public String getRelations2() {
		return relations2;
	}
	public UserInfo setRelations2(String relations2) {
		this.relations2 = relations2;
		return this;
	}
	public String getRelationName2() {
		return relationName2;
	}
	public UserInfo setRelationName2(String relationName2) {
		this.relationName2 = relationName2;
		return this;
	}
	public String getRelationPhone2() {
		return relationPhone2;
	}
	public UserInfo setRelationPhone2(String relationPhone2) {
		this.relationPhone2 = relationPhone2;
		return this;
	}
	public String getOrganizationid() {
		return organizationid;
	}
	public UserInfo setOrganizationid(String organizationid) {
		this.organizationid = organizationid;
		return this;
	}
	public String getPositionGuid() {
		return positionGuid;
	}
	public UserInfo setPositionGuid(String positionGuid) {
		this.positionGuid = positionGuid;
		return this;
	}
	public String getDANid() {
		return dANid;
	}
	public UserInfo setDANid(String dANid) {
		this.dANid = dANid;
		return this;
	}
	public Integer getDisabled() {
		return disabled;
	}
	public UserInfo setDisabled(Integer disabled) {
		this.disabled = disabled;
		return this;
	}
	public String getCreateUser() {
		return createUser;
	}
	public UserInfo setCreateUser(String createUser) {
		this.createUser = createUser;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public UserInfo setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public String getUpdateUser() {
		return updateUser;
	}
	public UserInfo setUpdateUser(String updateUser) {
		this.updateUser = updateUser;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public UserInfo setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}
	public Integer getBrowserLogin() {
		return browserLogin;
	}
	public UserInfo setBrowserLogin(Integer browserLogin) {
		this.browserLogin = browserLogin;
		return this;
	}
	public String getEnWeChatId() {
		return enWeChatId;
	}
	public UserInfo setEnWeChatId(String enWeChatId) {
		this.enWeChatId = enWeChatId;
		return this;
	}
	public String getCid() {
		return cid;
	}
	public UserInfo setCid(String cid) {
		this.cid = cid;
		return this;
	}
	public String getCidName() {
		return cidName;
	}
	public UserInfo setCidName(String cidName) {
		this.cidName = cidName;
		return this;
	}
	public String getDeptId() {
		return deptId;
	}
	public UserInfo setDeptId(String deptId) {
		this.deptId = deptId;
		return this;
	}
	public String getDeptName() {
		return deptName;
	}
	public UserInfo setDeptName(String deptName) {
		this.deptName = deptName;
		return this;
	}
	public String getDeptPath() {
		return deptPath;
	}
	public UserInfo setDeptPath(String deptPath) {
		this.deptPath = deptPath;
		return this;
	}
	public String getDeptPathName() {
		return deptPathName;
	}
	public UserInfo setDeptPathName(String deptPathName) {
		this.deptPathName = deptPathName;
		return this;
	}
	public String getUserType() {
		return userType;
	}
	public UserInfo setUserType(String userType) {
		this.userType = userType;
		return this;
	}
	public String getVYyJb() {
		return vYyJb;
	}
	public UserInfo setVYyJb(String vYyJb) {
		this.vYyJb = vYyJb;
		return this;
	}
	public String getVYyGw() {
		return vYyGw;
	}
	public UserInfo setVYyGw(String vYyGw) {
		this.vYyGw = vYyGw;
		return this;
	}
	public String getVZnJb() {
		return vZnJb;
	}
	public UserInfo setVZnJb(String vZnJb) {
		this.vZnJb = vZnJb;
		return this;
	}
	public String getVZnGw() {
		return vZnGw;
	}
	public UserInfo setVZnGw(String vZnGw) {
		this.vZnGw = vZnGw;
		return this;
	}
	public Date getDRzSj() {
		return dRzSj;
	}
	public UserInfo setDRzSj(Date dRzSj) {
		this.dRzSj = dRzSj;
		return this;
	}
	public Date getDZzSj() {
		return dZzSj;
	}
	public UserInfo setDZzSj(Date dZzSj) {
		this.dZzSj = dZzSj;
		return this;
	}
	public Date getDLzSj() {
		return dLzSj;
	}
	public UserInfo setDLzSj(Date dLzSj) {
		this.dLzSj = dLzSj;
		return this;
	}
	public String getVDaBh() {
		return vDaBh;
	}
	public UserInfo setVDaBh(String vDaBh) {
		this.vDaBh = vDaBh;
		return this;
	}
	public String getSyncUnionId() {
		return syncUnionId;
	}
	public UserInfo setSyncUnionId(String syncUnionId) {
		this.syncUnionId = syncUnionId;
		return this;
	}
	public String getUserJg() {
		return userJg;
	}
	public UserInfo setUserJg(String userJg) {
		this.userJg = userJg;
		return this;
	}
	public String getVBzXx() {
		return vBzXx;
	}
	public UserInfo setVBzXx(String vBzXx) {
		this.vBzXx = vBzXx;
		return this;
	}
	public String getVBgs() {
		return vBgs;
	}
	public UserInfo setVBgs(String vBgs) {
		this.vBgs = vBgs;
		return this;
	}
	public String getCidName2() {
		return cidName2;
	}
	public UserInfo setCidName2(String cidName2) {
		this.cidName2 = cidName2;
		return this;
	}

	public static UserInfo userInfo(
		String guid,
		String userId,
		String userName,
		String userPassWord,
		String userPassWord2,
		Integer userLevel,
		String userState,
		String userSex,
		String userSchooled,
		String userIdCard,
		Date userBirthday,
		String userProvince,
		String userCity,
		String userAddress,
		String userPhone1,
		String userPhone2,
		String userQQ,
		String userWeChat,
		String userEmail,
		String userLeader,
		String userPhoto,
		String userPicture,
		String skin,
		String relations1,
		String relationName1,
		String relationPhone1,
		String relations2,
		String relationName2,
		String relationPhone2,
		String organizationid,
		String positionGuid,
		String dANid,
		Integer disabled,
		String createUser,
		Date createTime,
		String updateUser,
		Date updateTime,
		Integer browserLogin,
		String enWeChatId,
		String cid,
		String cidName,
		String deptId,
		String deptName,
		String deptPath,
		String deptPathName,
		String userType,
		String vYyJb,
		String vYyGw,
		String vZnJb,
		String vZnGw,
		Date dRzSj,
		Date dZzSj,
		Date dLzSj,
		String vDaBh,
		String syncUnionId,
		String userJg,
		String vBzXx,
		String vBgs,
		String cidName2
			) {
		UserInfo entity = new UserInfo();
		entity.setGuid(guid);
		entity.setUserId(userId);
		entity.setUserName(userName);
		entity.setUserPassWord(userPassWord);
		entity.setUserPassWord2(userPassWord2);
		entity.setUserLevel(userLevel);
		entity.setUserState(userState);
		entity.setUserSex(userSex);
		entity.setUserSchooled(userSchooled);
		entity.setUserIdCard(userIdCard);
		entity.setUserBirthday(userBirthday);
		entity.setUserProvince(userProvince);
		entity.setUserCity(userCity);
		entity.setUserAddress(userAddress);
		entity.setUserPhone1(userPhone1);
		entity.setUserPhone2(userPhone2);
		entity.setUserQQ(userQQ);
		entity.setUserWeChat(userWeChat);
		entity.setUserEmail(userEmail);
		entity.setUserLeader(userLeader);
		entity.setUserPhoto(userPhoto);
		entity.setUserPicture(userPicture);
		entity.setSkin(skin);
		entity.setRelations1(relations1);
		entity.setRelationName1(relationName1);
		entity.setRelationPhone1(relationPhone1);
		entity.setRelations2(relations2);
		entity.setRelationName2(relationName2);
		entity.setRelationPhone2(relationPhone2);
		entity.setOrganizationid(organizationid);
		entity.setPositionGuid(positionGuid);
		entity.setDANid(dANid);
		entity.setDisabled(disabled);
		entity.setCreateUser(createUser);
		entity.setCreateTime(createTime);
		entity.setUpdateUser(updateUser);
		entity.setUpdateTime(updateTime);
		entity.setBrowserLogin(browserLogin);
		entity.setEnWeChatId(enWeChatId);
		entity.setCid(cid);
		entity.setCidName(cidName);
		entity.setDeptId(deptId);
		entity.setDeptName(deptName);
		entity.setDeptPath(deptPath);
		entity.setDeptPathName(deptPathName);
		entity.setUserType(userType);
		entity.setVYyJb(vYyJb);
		entity.setVYyGw(vYyGw);
		entity.setVZnJb(vZnJb);
		entity.setVZnGw(vZnGw);
		entity.setDRzSj(dRzSj);
		entity.setDZzSj(dZzSj);
		entity.setDLzSj(dLzSj);
		entity.setVDaBh(vDaBh);
		entity.setSyncUnionId(syncUnionId);
		entity.setUserJg(userJg);
		entity.setVBzXx(vBzXx);
		entity.setVBgs(vBgs);
		entity.setCidName2(cidName2);
		return entity;
	}
}